﻿@model List<DataSharing.Models.StudentInfo>
@{
    ViewBag.Title = "List";
}
<h2>List</h2>
<table class="table">
    <tr>
        <th>Id</th>
        <th>Name</th>
        <th>Marks</th>
    </tr>
    @foreach (var s in Model)
    {
        <tr>
            <td>@s.Id</td>
            <td>@s.Name</td>
            <td>@s.Marks</td>
        </tr>
    }
</table>